package cn.jji8.KnapsackToGo.ShiJian;

import org.bukkit.entity.Player;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;

/**
 * 玩家数据已经保存完毕时会调用此事件，此时已解锁
 * */
public class BaoCunWanChen extends Event {
    Player player;
    HandlerList handlerList = new HandlerList();

    public BaoCunWanChen(boolean isAsync, Player player) {
        super(isAsync);
        this.player = player;
    }

    public BaoCunWanChen(Player player) {
        this.player = player;
    }

    @Override
    public HandlerList getHandlers() {
        return handlerList;
    }
}
